﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace YasharEl.Infrastructure.EntityModel
{
    [Serializable]
    public class DomainModelException : Exception
    {
        public DomainModelException(string message)
            : base(message)
        {

        }

        public DomainModelException(string message, Exception innerException)
            : base(message, innerException)
        {

        }

        protected DomainModelException(SerializationInfo info, StreamingContext context) :
            base(info, context)
        {
        }
    }
}
